﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WMS.Model;
using WMS.Repository.IRepository;

namespace WMS.Service.IService
{
    public interface IDepartmentService
    {
        Task<(bool Success, string Message)> AddDepartmentAsync(string departmentName, string departmentDesc);

        Task<PageResult<DepartmentModel>> GetDepartmentPagedListAsync(DepartmentQueryRequest request);

        Task<(bool Success, string Message)> UpdateDepartmentAsync(long id, string departmentName, string departmentDesc, byte status, long parentId, long Minister);

        Task<(bool Success, string Message)> UpdateDepartmentStatusAsync(long id);

        Task<(bool Success, string Message)> UpdateDepartmentsStatusAsync(List<long> ids);

        Task<object> GetDepartmentDropdownBoxAsync(long departmentId);
    }


}
